package com.briup.smartcity_group6.web.vo;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class RegisterUserVO {
    private String username;
    private String telephone;
    private String realname;
    private String password;
    private String icon;//头像：直接使用网络url进行表示
    private Integer gender;//性别
    private String email;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dob;//前端发送的字符串2020-10-10，设置转换的时间格式
}
